import { HomeIcon, Database, Globe, Sparkles, Code, Github, Terminal } from "lucide-react";
import Index from "./pages/Index.jsx";
import SQLGeneratorPage from "./pages/SQLGeneratorPage";
import PythonCrawlerGeneratorPage from "./pages/PythonCrawlerGeneratorPage";
import PromptGeneratorPage from "./pages/PromptGeneratorPage";
import CodeConverterPage from "./pages/CodeConverterPage";
import GitHubProxyPage from "./pages/GitHubProxyPage";
import LinuxCommandGeneratorPage from "./pages/LinuxCommandGeneratorPage";

/**
* Central place for defining the navigation items. Used for navigation components and routing.
*/
export const navItems = [
  {
    title: "首页",
    to: "/",
    icon: <HomeIcon className="h-4 w-4" />,
    page: <Index />,
  },
  {
    title: "SQL生成器",
    to: "/sql-generator",
    icon: <Database className="h-4 w-4" />,
    page: <SQLGeneratorPage />,
  },
  {
    title: "Python爬虫生成器",
    to: "/python-crawler",
    icon: <Globe className="h-4 w-4" />,
    page: <PythonCrawlerGeneratorPage />,
  },
  {
    title: "Prompt生成器",
    to: "/prompt-generator",
    icon: <Sparkles className="h-4 w-4" />,
    page: <PromptGeneratorPage />,
  },
  {
    title: "代码转换器",
    to: "/code-converter",
    icon: <Code className="h-4 w-4" />,
    page: <CodeConverterPage />,
  },
  {
    title: "GitHub代理",
    to: "/github-proxy",
    icon: <Github className="h-4 w-4" />,
    page: <GitHubProxyPage />,
  },
  {
    title: "Linux命令生成器",
    to: "/linux-command",
    icon: <Terminal className="h-4 w-4" />,
    page: <LinuxCommandGeneratorPage />,
  },
];
